package com.zm.demo.shoppingmall.product.api;

import com.zm.demo.shoppingmall.product.model.TProduct;
import com.zm.demo.shoppingmall.product.model.TProductCondition;

import java.util.List;

/**
 * @desc:
 * @author: z01140
 * @date: 2021/5/24 20:42
 */
public interface ProductService {


    int addProduct(TProduct tProduct);

    int updateProduct(TProduct tProduct);

    int deleteProuctByProductId(Integer productId);

    TProduct getProductByProductNo(String productNo);

    TProduct getProductById(Integer productId);

    List<TProduct> getProductByCondition(TProductCondition tProductCondition);

}
